public class A {
  public void method() {
    if (true) foo();
    <caret>
  }
}
